Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-input-autosize

Package Overview
Dependencies
Maintainers
3
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-input-autosize

Auto-resizing Input Component for React

  • 2.2.2
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created

What is react-input-autosize?

The react-input-autosize package is a React component that automatically adjusts the width of the input field to fit the content typed by the user. This is particularly useful for tags input and other dynamic text inputs where the size of the content can change.

What are react-input-autosize's main functionalities?

Autosizing input field

This feature allows the input field to automatically resize based on the input content. The width of the input will grow or shrink as the user types or deletes content.

{"import AutosizeInput from 'react-input-autosize';\n\nfunction MyComponent() {\n  const [value, setValue] = useState('');\n\n  return (\n    <AutosizeInput\n      value={value}\n      onChange={(e) => setValue(e.target.value)}\n    />\n  );\n}"}

Other packages similar to react-input-autosize

Keywords

FAQs

Package last updated on 01 Oct 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc